﻿<Window x:Class="HeadLinx.AD.Explorer.MessageBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="[Caption]"
        Width="311"
        Height="194"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Name="rowMessageText" Height="*"></RowDefinition>
            <RowDefinition Name="rowButtons" Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        
        <TextBlock Name="messageText"
                   Grid.Row="0"
                   Margin="20"
                   TextWrapping="Wrap"
                   FontFamily="Verdana"
                   FontSize="14">[Message]</TextBlock>
        
        <StackPanel Orientation="Horizontal"
                    Grid.Row="1"
                    HorizontalAlignment="Right"
                    Margin="10">
            <Button Name="btnOK"
                    IsDefault="True"
                    Margin="0"
                    Padding="15,3"
                    VerticalAlignment="Center"
                    Click="btnOK_Click">OK</Button>
            <Button Name="btnCancel"
                    IsCancel="True"
                    Margin="10,0,0,0"
                    Padding="15,3"
                    VerticalAlignment="Center"
                    Click="btnCancel_Click">Cancel</Button>
        </StackPanel>
    </Grid>
</Window>
